package com.hs.jhzd.entity;

import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;

import javax.persistence.*;
import java.util.Date;

@Entity
@Data
@Table(name = "zy_ryzpb")
public class PrisonerPhoto {
    @Id
    private String  zybh;
    private String rybh;
    private byte[] zm;
    private byte[] zc;
    private byte[] yc;
    private String jsbh;
    private String jsmc;
    private String jcr;
    @CreationTimestamp
    @Temporal(TemporalType.TIMESTAMP)
    private Date cjsj;
    @Column(updatable = false)
    @CreationTimestamp
    @Temporal(TemporalType.TIMESTAMP)
    private Date sjc;
}
